package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class page2_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.List _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_f_view;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ui_page_id_binding;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ui_html_id_binding;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ui_head_id_binding;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ui_link_url_id_binding_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ui_body_style_id_binding;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ui_form_id_binding;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ui_dropDown_valueChangeListener_style_items_id_binding_nobody;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _jspx_tagPool_f_view = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_ui_page_id_binding = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_ui_html_id_binding = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_ui_head_id_binding = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_ui_link_url_id_binding_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_ui_body_style_id_binding = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_ui_form_id_binding = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_ui_dropDown_valueChangeListener_style_items_id_binding_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_f_view.release();
    _jspx_tagPool_ui_page_id_binding.release();
    _jspx_tagPool_ui_html_id_binding.release();
    _jspx_tagPool_ui_head_id_binding.release();
    _jspx_tagPool_ui_link_url_id_binding_nobody.release();
    _jspx_tagPool_ui_body_style_id_binding.release();
    _jspx_tagPool_ui_form_id_binding.release();
    _jspx_tagPool_ui_dropDown_valueChangeListener_style_items_id_binding_nobody.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      if (_jspx_meth_f_view_0(_jspx_page_context))
        return;
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_f_view_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  f:view
    com.sun.faces.taglib.jsf_core.ViewTag _jspx_th_f_view_0 = (com.sun.faces.taglib.jsf_core.ViewTag) _jspx_tagPool_f_view.get(com.sun.faces.taglib.jsf_core.ViewTag.class);
    _jspx_th_f_view_0.setPageContext(_jspx_page_context);
    _jspx_th_f_view_0.setParent(null);
    int _jspx_eval_f_view_0 = _jspx_th_f_view_0.doStartTag();
    if (_jspx_eval_f_view_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_f_view_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        out = _jspx_page_context.pushBody();
        _jspx_th_f_view_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
        _jspx_th_f_view_0.doInitBody();
      }
      do {
        if (_jspx_meth_ui_page_0(_jspx_th_f_view_0, _jspx_page_context))
          return true;
        int evalDoAfterBody = _jspx_th_f_view_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_f_view_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        out = _jspx_page_context.popBody();
      }
    }
    if (_jspx_th_f_view_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_f_view.reuse(_jspx_th_f_view_0);
      return true;
    }
    _jspx_tagPool_f_view.reuse(_jspx_th_f_view_0);
    return false;
  }

  private boolean _jspx_meth_ui_page_0(javax.servlet.jsp.tagext.JspTag _jspx_th_f_view_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  ui:page
    com.sun.rave.web.ui.taglib.PageTag _jspx_th_ui_page_0 = (com.sun.rave.web.ui.taglib.PageTag) _jspx_tagPool_ui_page_id_binding.get(com.sun.rave.web.ui.taglib.PageTag.class);
    _jspx_th_ui_page_0.setPageContext(_jspx_page_context);
    _jspx_th_ui_page_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_f_view_0);
    _jspx_th_ui_page_0.setId("page1");
    _jspx_th_ui_page_0.setBinding("#{page2.page1}");
    int _jspx_eval_ui_page_0 = _jspx_th_ui_page_0.doStartTag();
    if (_jspx_eval_ui_page_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_meth_ui_html_0(_jspx_th_ui_page_0, _jspx_page_context))
        return true;
    }
    if (_jspx_th_ui_page_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_ui_page_id_binding.reuse(_jspx_th_ui_page_0);
      return true;
    }
    _jspx_tagPool_ui_page_id_binding.reuse(_jspx_th_ui_page_0);
    return false;
  }

  private boolean _jspx_meth_ui_html_0(javax.servlet.jsp.tagext.JspTag _jspx_th_ui_page_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  ui:html
    com.sun.rave.web.ui.taglib.HtmlTag _jspx_th_ui_html_0 = (com.sun.rave.web.ui.taglib.HtmlTag) _jspx_tagPool_ui_html_id_binding.get(com.sun.rave.web.ui.taglib.HtmlTag.class);
    _jspx_th_ui_html_0.setPageContext(_jspx_page_context);
    _jspx_th_ui_html_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_ui_page_0);
    _jspx_th_ui_html_0.setId("html1");
    _jspx_th_ui_html_0.setBinding("#{page2.html1}");
    int _jspx_eval_ui_html_0 = _jspx_th_ui_html_0.doStartTag();
    if (_jspx_eval_ui_html_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_meth_ui_head_0(_jspx_th_ui_html_0, _jspx_page_context))
        return true;
      if (_jspx_meth_ui_body_0(_jspx_th_ui_html_0, _jspx_page_context))
        return true;
    }
    if (_jspx_th_ui_html_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_ui_html_id_binding.reuse(_jspx_th_ui_html_0);
      return true;
    }
    _jspx_tagPool_ui_html_id_binding.reuse(_jspx_th_ui_html_0);
    return false;
  }

  private boolean _jspx_meth_ui_head_0(javax.servlet.jsp.tagext.JspTag _jspx_th_ui_html_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  ui:head
    com.sun.rave.web.ui.taglib.HeadTag _jspx_th_ui_head_0 = (com.sun.rave.web.ui.taglib.HeadTag) _jspx_tagPool_ui_head_id_binding.get(com.sun.rave.web.ui.taglib.HeadTag.class);
    _jspx_th_ui_head_0.setPageContext(_jspx_page_context);
    _jspx_th_ui_head_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_ui_html_0);
    _jspx_th_ui_head_0.setId("head1");
    _jspx_th_ui_head_0.setBinding("#{page2.head1}");
    int _jspx_eval_ui_head_0 = _jspx_th_ui_head_0.doStartTag();
    if (_jspx_eval_ui_head_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_meth_ui_link_0(_jspx_th_ui_head_0, _jspx_page_context))
        return true;
    }
    if (_jspx_th_ui_head_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_ui_head_id_binding.reuse(_jspx_th_ui_head_0);
      return true;
    }
    _jspx_tagPool_ui_head_id_binding.reuse(_jspx_th_ui_head_0);
    return false;
  }

  private boolean _jspx_meth_ui_link_0(javax.servlet.jsp.tagext.JspTag _jspx_th_ui_head_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  ui:link
    com.sun.rave.web.ui.taglib.LinkTag _jspx_th_ui_link_0 = (com.sun.rave.web.ui.taglib.LinkTag) _jspx_tagPool_ui_link_url_id_binding_nobody.get(com.sun.rave.web.ui.taglib.LinkTag.class);
    _jspx_th_ui_link_0.setPageContext(_jspx_page_context);
    _jspx_th_ui_link_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_ui_head_0);
    _jspx_th_ui_link_0.setUrl("/resources/stylesheet.css");
    _jspx_th_ui_link_0.setId("link1");
    _jspx_th_ui_link_0.setBinding("#{page2.link1}");
    int _jspx_eval_ui_link_0 = _jspx_th_ui_link_0.doStartTag();
    if (_jspx_th_ui_link_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_ui_link_url_id_binding_nobody.reuse(_jspx_th_ui_link_0);
      return true;
    }
    _jspx_tagPool_ui_link_url_id_binding_nobody.reuse(_jspx_th_ui_link_0);
    return false;
  }

  private boolean _jspx_meth_ui_body_0(javax.servlet.jsp.tagext.JspTag _jspx_th_ui_html_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  ui:body
    com.sun.rave.web.ui.taglib.BodyTag _jspx_th_ui_body_0 = (com.sun.rave.web.ui.taglib.BodyTag) _jspx_tagPool_ui_body_style_id_binding.get(com.sun.rave.web.ui.taglib.BodyTag.class);
    _jspx_th_ui_body_0.setPageContext(_jspx_page_context);
    _jspx_th_ui_body_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_ui_html_0);
    _jspx_th_ui_body_0.setStyle("-rave-layout: grid");
    _jspx_th_ui_body_0.setId("body1");
    _jspx_th_ui_body_0.setBinding("#{page2.body1}");
    int _jspx_eval_ui_body_0 = _jspx_th_ui_body_0.doStartTag();
    if (_jspx_eval_ui_body_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_meth_ui_form_0(_jspx_th_ui_body_0, _jspx_page_context))
        return true;
    }
    if (_jspx_th_ui_body_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_ui_body_style_id_binding.reuse(_jspx_th_ui_body_0);
      return true;
    }
    _jspx_tagPool_ui_body_style_id_binding.reuse(_jspx_th_ui_body_0);
    return false;
  }

  private boolean _jspx_meth_ui_form_0(javax.servlet.jsp.tagext.JspTag _jspx_th_ui_body_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  ui:form
    com.sun.rave.web.ui.taglib.FormTag _jspx_th_ui_form_0 = (com.sun.rave.web.ui.taglib.FormTag) _jspx_tagPool_ui_form_id_binding.get(com.sun.rave.web.ui.taglib.FormTag.class);
    _jspx_th_ui_form_0.setPageContext(_jspx_page_context);
    _jspx_th_ui_form_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_ui_body_0);
    _jspx_th_ui_form_0.setId("form1");
    _jspx_th_ui_form_0.setBinding("#{page2.form1}");
    int _jspx_eval_ui_form_0 = _jspx_th_ui_form_0.doStartTag();
    if (_jspx_eval_ui_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_meth_ui_dropDown_0(_jspx_th_ui_form_0, _jspx_page_context))
        return true;
    }
    if (_jspx_th_ui_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_ui_form_id_binding.reuse(_jspx_th_ui_form_0);
      return true;
    }
    _jspx_tagPool_ui_form_id_binding.reuse(_jspx_th_ui_form_0);
    return false;
  }

  private boolean _jspx_meth_ui_dropDown_0(javax.servlet.jsp.tagext.JspTag _jspx_th_ui_form_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  ui:dropDown
    com.sun.rave.web.ui.taglib.DropDownTag _jspx_th_ui_dropDown_0 = (com.sun.rave.web.ui.taglib.DropDownTag) _jspx_tagPool_ui_dropDown_valueChangeListener_style_items_id_binding_nobody.get(com.sun.rave.web.ui.taglib.DropDownTag.class);
    _jspx_th_ui_dropDown_0.setPageContext(_jspx_page_context);
    _jspx_th_ui_dropDown_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_ui_form_0);
    _jspx_th_ui_dropDown_0.setValueChangeListener("#{page2.dropDown1_processValueChange}");
    _jspx_th_ui_dropDown_0.setStyle("left: 120px; top: 72px; position: absolute; width: 288px");
    _jspx_th_ui_dropDown_0.setItems("#{page2.dropDown1DefaultOptions.options}");
    _jspx_th_ui_dropDown_0.setId("dropDown1");
    _jspx_th_ui_dropDown_0.setBinding("#{page2.dropDown1}");
    int _jspx_eval_ui_dropDown_0 = _jspx_th_ui_dropDown_0.doStartTag();
    if (_jspx_th_ui_dropDown_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_ui_dropDown_valueChangeListener_style_items_id_binding_nobody.reuse(_jspx_th_ui_dropDown_0);
      return true;
    }
    _jspx_tagPool_ui_dropDown_valueChangeListener_style_items_id_binding_nobody.reuse(_jspx_th_ui_dropDown_0);
    return false;
  }
}
